home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _5EB4CE7432AB69F4FB835A2ABC2EC2A5 < prev    next >
Extensible Markup Language  |  2006-01-15  |  26KB  |  542 lines

  1. <?xml version="1.0" encoding="EUC-JP"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_proxy_ajp - Apache HTTP Ñ╡í╝Ñ╨</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p>
  16. <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a> > <a href="./">ÑΓÑ╕Ñσí╝Ñδ</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>Apache ÑΓÑ╕Ñσí╝Ñδ mod_proxy_ajp</h1>
  23. <div class="toplang">
  24. <p><span>Available Languages: </span><a href="../en/mod/mod_proxy_ajp.html" hreflang="en" rel="alternate" title="English"> en </a> |
  25. <a href="../ja/mod/mod_proxy_ajp.html" title="Japanese"> ja </a></p>
  26. </div>
  27. <table class="module"><tr><th><a href="module-dict.html#Description">└Γ╠└:</a></th><td><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ñ╟ AJP 
  28. ñ≥Ñ╡Ñ▌í╝Ñ╚ñ╣ñδñ┐ñßñ╬ÑΓÑ╕Ñσí╝Ñδ</td></tr>
  29. <tr><th><a href="module-dict.html#Status">Ñ╣Ñ╞í╝Ñ┐Ñ╣:</a></th><td>Extension</td></tr>
  30. <tr><th><a href="module-dict.html#ModuleIdentifier">ÑΓÑ╕Ñσí╝Ñδ╝▒╩╠╗╥:</a></th><td>proxy_ajp_module</td></tr>
  31. <tr><th><a href="module-dict.html#SourceFile">Ñ╜í╝Ñ╣Ñ╒ÑíÑñÑδ:</a></th><td>proxy_ajp.c</td></tr></table>
  32. <h3>│╡═╫</h3>
  33.  
  34.     <p>╦▄ÑΓÑ╕Ñσí╝Ñδñ╦ñ╧ <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ñ¼<em>╔¼═╫ñ╟ñ╣</em>íú
  35.     <code>Apache JServ Protocol version 1.3</code> (░╩╣▀ <em>AJP13</em>)
  36.     ñ≥Ñ╡Ñ▌í╝Ñ╚ñ╖ñ▐ñ╣íú</p>
  37.  
  38.     <p><code>AJP13</code> Ñ╫ÑφÑ╚Ñ│Ñδñ≥░╖ñ¿ñδñΦñªñ╦ñ╣ñδñ╦ñ╧
  39.     <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ñ╚ <code class="module"><a href="../mod/mod_proxy_ajp.html">mod_proxy_ajp</a></code>
  40.     ñ≥Ñ╡í╝Ñ╨ñ╦┴╚ñ▀╣■ñα╔¼═╫ñ¼ñóñΩñ▐ñ╣íú</p>
  41.  
  42.     <div class="warning"><h3>╖┘╣≡</h3>
  43.       <p><a href="#access">░┬┴┤ñ╩Ñ╡í╝Ñ╨ñ╦ñ╣ñδ</a>ñ▐ñ╟Ñ╫ÑφÑ»Ñ╖╡í╟╜ñ╧═¡╕·ñ╦ñ╖ñ╩ñññ╟ñ»ñ└ñ╡ññíú
  44.       Ñ¬í╝Ñ╫Ñ≤Ñ╫ÑφÑ¡Ñ╖Ñ╡í╝Ñ╨ñ╧ñóñ╩ñ┐╝½┐╚ñ╬Ñ═Ñ├Ñ╚Ñ∩í╝Ñ»ñ╦ñ╚ñ├ñ╞ñΓíó
  45.       ÑñÑ≤Ñ┐í╝Ñ═Ñ├Ñ╚┴┤┬╬ñ╦ñ╚ñ├ñ╞ñΓ┤φ╕▒ñ╟ñ╣íú</p>
  46.     </div>
  47. </div>
  48. <div id="quickview"><h3 class="directives">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</h3>
  49. <p>ñ│ñ╬ÑΓÑ╕Ñσí╝Ñδñ╦Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╧ñóñΩñ▐ñ╗ñ≤íú</p>
  50. <h3>Ñ╚Ñ╘Ñ├Ñ»</h3>
  51. <ul id="topics">
  52. <li><img alt="" src="../images/down.gif" /> <a href="#overviewprotocol">Ñ╫ÑφÑ╚Ñ│Ñδñ╬│╡═╫</a></li>
  53. <li><img alt="" src="../images/down.gif" /> <a href="#basppacketstruct">┤≡╦▄Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></li>
  54. <li><img alt="" src="../images/down.gif" /> <a href="#rpacetstruct">ÑΩѻѿÑ╣Ñ╚Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></li>
  55. <li><img alt="" src="../images/down.gif" /> <a href="#resppacketstruct">Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></li>
  56. </ul><h3>╗▓╛╚</h3>
  57. <ul class="seealso">
  58. <li><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code></li>
  59. </ul></div>
  60. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  61. <div class="section">
  62. <h2><a name="overviewprotocol" id="overviewprotocol">Ñ╫ÑφÑ╚Ñ│Ñδñ╬│╡═╫</a></h2>
  63.     <p><code>AJP13</code> Ñ╫ÑφÑ╚Ñ│Ñδñ╧Ñ╤Ñ▒Ñ├Ñ╚╗╪╕■ñ╟ñ╣íú
  64.     ▓─╞╔ñ╩Ñ╫Ñ∞í╝Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚╖┴╝░ñ╟ñ╧ñ╩ñ»Ñ╨ÑñÑ╩ÑΩ╖┴╝░ñ╦ñ╩ñ├ñ┐ñ╬ñ╧íó
  65.     ñ¬ñ╜ñΘñ»Ñ╤Ñ╒Ñ⌐í╝Ñ▐Ñ≤Ñ╣╛σñ╬═²═│ñ╦ñΦñΩñ▐ñ╣íú
  66.     ÑªÑºÑ╓Ñ╡í╝Ñ╨ñ╧Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╚ TCP Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╟─╠┐«ñ╖ñ▐ñ╣íú
  67.     Ñ╜Ñ▒Ñ├Ñ╚└╕└«ñ╧╜┼ññ╜Φ═²ñ╩ñ╬ñ╟íó╔Θ▓┘ñ≥╕║ñΘñ╣ñ┐ñßñ╦íóÑ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╚ñ╬
  68.     TCP └▄┬│ñ≥░▌╗²ñ╖íó╩ú┐⌠ñ╬ÑΩѻѿÑ╣Ñ╚íªÑ∞Ñ╣Ñ▌Ñ≤Ñ╣╜Φ═²Ñ╡ÑñÑ»Ñδñ╦┬╨ñ╖ñ╞░∞ñ─ñ╬
  69.     Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ≥╗╚ñññ▐ñ∩ñ╣ñΦñªñ╦ñ╩ñ├ñ╞ñññ▐ñ╣íú</p>
  70.     <p>ñóñδÑΩѻѿÑ╣Ñ╚ñ╦Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ¼│ΣñΩ┼÷ñ╞ñΘñ∞ñδñ╚íóñ╜ñ╬╜Φ═²Ñ╡ÑñÑ»Ñδñ¼
  71.     ┤░╬╗ñ╣ñδñ▐ñ╟┬╛ñ╬ñΓñ╬ñ╦╗╚ñ∩ñ∞ñδñ│ñ╚ñ╧ñóñΩñ▐ñ╗ñ≤íú
  72.     ñ─ñ▐ñΩÑ│Ñ═Ñ»Ñ╖ÑτÑ≤╛σñ╟ñ╧íóÑΩѻѿÑ╣Ñ╚ñ╬╞▒╗■╜Φ═²ñ╧╣╘ñ∩ñ∞ñ▐ñ╗ñ≤íú
  73.     ñ│ñ╬ñ┐ñßíóÑ│Ñ═Ñ»Ñ╖ÑτÑ≤╬╛├╝ñ╟ñ╬╝┬╣╘ñ╣ñδÑ│í╝Ñ╔ñ≥┤╩╖Θñ╦ñ╟ñ¡ñδ░∞╩²ñ╟íó
  74.     ╞▒╗■ñ╦│½ñ»Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╧┬┐ñ»ñ╩ñ├ñ╞ñññ▐ñ╣íú</p>
  75.     <p>Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╪ñ╬Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ≥│½ñññ┐╕σñ╧íóÑ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╬╛⌡┬╓ñ╧
  76.     ╝íñ╬ñ╔ñ∞ñ½ñ╦ñ╩ñΩñ▐ñ╣:</p>
  77.     <ul>
  78.     <li> Idle <br />Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤╛σñ╟╜Φ═²ñ╡ñ∞ñ╞ñññδÑΩѻѿÑ╣Ñ╚ñ╧ñóñΩñ▐ñ╗ñ≤íú</li>
  79.     <li> Assigned <br />Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╧ÑΩѻѿÑ╣Ñ╚ñ≥╜Φ═²├µñ╟ñ╣íú</li>
  80.     </ul>
  81.     <p>Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ¼╞├─Ωñ╬ÑΩѻѿÑ╣Ñ╚ñ╦ÑóÑ╡ÑñÑ≤ñ╡ñ∞ñδñ╚íó┤≡╦▄┼¬ñ╩╛≡╩≤ (╬πñ¿ñ╨
  82.     HTTP Ñ╪Ñ├Ñ└┼∙) ñ¼░╡╜╠ñ╡ñ∞ñ┐╖┴ (╬πñ¿ñ╨─╠╛∩ñ╬╩╕╗·╬≤ñ╧└░┐⌠ñ╦Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣)
  83.     ñ╟┼╛┴≈ñ╡ñ∞ñ▐ñ╣íú╛▄║┘ñ╧▓╝╡¡ñ╬í╓ÑΩѻѿÑ╣Ñ╚Ñ╤Ñ▒Ñ├Ñ╚ñ╬╣╜┬ñí╫ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú
  84.     ÑΩѻѿÑ╣Ñ╚ñ╦Ñ▄Ñ╟Ñúñ¼┬╕║▀ <code>(content-length > 0)</code> ñ╣ñ∞ñ╨íó
  85.     ┤≡╦▄┼¬ñ╩╛≡╩≤ñ╬─╛╕σñ╦╩╠Ñ╤Ñ▒Ñ├Ñ╚ñ╟┼╛┴≈ñ╡ñ∞ñ▐ñ╣íú</p>
  86.     <p>ñ│ñ╬╗■┼└ñ╟ñ¬ñ╜ñΘñ»íóÑ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╧╜Φ═²ñ≥│½╗╧ñ╟ñ¡ñδñΦñªñ╦ñ╩ñΩñ▐ñ╣íú
  87.     ñ╟ñ╣ñ╬ñ╟íó╝íñ╬ÑßÑ├Ñ╗í╝Ñ╕ñ≥ѪѺÑ╓Ñ╡í╝Ñ╨ñ╦╠ßñ╖ñ╞├╬ñΘñ╗ñΘñ∞ñδñΦñªñ╦ñ╩ñΩñ▐ñ╣íú</p>
  88.     <ul>
  89.     <li>SEND_HEADERS <br />Ñ╓ÑΘѪÑ╢ñ╦Ñ╪Ñ├Ñ└ñ≥┴≈┐«ñ╖ñ▐ñ╣íú</li>
  90.     <li>SEND_BODY_CHUNK <br />Ñ╓ÑΘѪÑ╢ñ╦Ñ▄Ñ╟ÑúÑ╟í╝Ñ┐ñ╬Ñ┴ÑπÑ≤Ñ»ñ≥┴≈ñΩñ▐ñ╣íú
  91.     </li>
  92.     <li>GET_BODY_CHUNK <br />ÑΩѻѿÑ╣Ñ╚ñ╬Ñ╟í╝Ñ┐ñ≥┴┤ñ╞╝⌡ñ▒╝ΦñΩ╜¬ñ∩ñ├ñ╞ñññ╩ñññ╚ñ¡ñ╦íó
  93.     ╗─ñ├ñ╞ñññδÑ╟í╝Ñ┐ñ≥╝⌡ñ▒╝ΦñΩñ▐ñ╣íúÑ╤Ñ▒Ñ├Ñ╚ñ╦ñóñδ─Ωñ▐ñ├ñ┐║╟┬τ─╣ñ¼ñóñΩíó╟ñ░╒ñ╬
  94.     ┬τñ¡ñ╡ñ╬Ñ╟í╝Ñ┐ñ¼ÑΩѻѿÑ╣Ñ╚ñ╬Ñ▄Ñ╟Ñúñ╚ñ╖ñ╞┤▐ñ▐ñ∞ñªñδ╛∞╣τ 
  95.     (╬πñ¿ñ╨Ñ╒ÑíÑñÑδñ╬ÑóÑ├Ñ╫Ñφí╝Ñ╔ñ╬╛∞╣τ) ñ╦╔¼═╫ñ╚ñ╩ñΩñ▐ñ╣íú
  96.     (├φ: HTTP ñ╬Ñ┴ÑπÑ≤Ñ»┼╛┴≈ñ╚ñ╧┤╪╧óñóñΩñ▐ñ╗ñ≤íú)</li>
  97.     <li>END_RESPONSE <br />ÑΩѻѿÑ╣Ñ╚╜Φ═²Ñ╡ÑñÑ»Ñδñ≥╜¬╬╗ñ╖ñ▐ñ╣íú</li>
  98.     </ul>
  99.     <p>╕─í╣ñ╬ÑßÑ├Ñ╗í╝Ñ╕ñ╧ñ╜ñ∞ñ╛ñ∞░█ñ╩ñδÑ╟í╝Ñ┐Ñ╤Ñ▒Ñ├Ñ╚╖┴╝░ñ╦ñ╩ñ├ñ╞ñññ▐ñ╣íú
  100.     ╕σ╜╥ñ╬í╓Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣Ñ╤Ñ▒Ñ├Ñ╚ñ╬╣╜┬ñí╫ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú</p>
  101. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  102. <div class="section">
  103. <h2><a name="basppacketstruct" id="basppacketstruct">┤≡╦▄Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></h2>
  104.     <p>ñ│ñ╬Ñ╫ÑφÑ╚Ñ│Ñδñ╦ñ╧ XDR ñ½ñΘ╝⌡ñ▒╖╤ñññ└╔⌠╩¼ñ¼╛»ñ╖ñóñΩñ▐ñ╣ñ¼íó┬┐ñ»ñ╬┼└ñ╟
  105.     ░█ñ╩ñΩñ▐ñ╣ (╬πñ¿ñ╨ 4 Ñ╨ÑñÑ╚ÑóÑΘÑñÑßÑ≤Ñ╚ñ╟ñ╩ñññ│ñ╚ñ╩ñ╔) íú</p>
  106.     <p>Ñ╨ÑñÑ╚Ѭí╝Ñ└í╝: ╕─í╣ñ╬Ñ╨ÑñÑ╚ñ╬Ñ¿Ñ≤Ñ╟ÑúÑóÑ≤ñ¼ñ╔ñªñ╩ñ├ñ╞ñññδñ½ñ╧íó
  107.     ╗Σñ╧╛▄ñ╖ñ»ñ╩ñññ╬ñ╟ñ╣ñ¼íóÑΩÑ╚ÑδÑ¿Ñ≤Ñ╟ÑúÑóÑ≤ñ╦ñ╩ñ├ñ╞ñññδñ╚╗╫ñññ▐ñ╣íú
  108.     XDR ╗┼══ñ╟ñ╜ñªñ╩ñ├ñ╞ñññδñ╬ñ╚íó┴╟└▓ñΘñ╖ñññ│ñ╚ñ╦ sys/socket ÑΘÑñÑ╓ÑΘÑΩñ¼
  109.     (C ñ╟) ñ╜ñªñññª╔≈ñ╦ñ╟ñ¡ñ╞ñññδñ╬ñ╟ñ╜ñªñ╩ñ╬ñ└ñ╚╗╫ñññ▐ñ╖ñ┐íú
  110.     Ñ╜Ñ▒Ñ├Ñ╚╕╞ñ╙╜╨ñ╖ñ╬╞Γ╔⌠ñ╦ñ─ñññ╞ñΦñΩ╛▄ñ╖ññ╩²ñ¼ñññΘñ├ñ╖ñπñññ▐ñ╖ñ┐ñΘíó
  111.     ñ┤╢╡╝°ñ»ñ└ñ╡ññíú</p>
  112.     <p>Ñ╫ÑφÑ╚Ñ│Ñδñ╦ñ╧ 4 ñ─ñ╬Ñ╟í╝Ñ┐Ñ┐ÑñÑ╫ñ¼ñóñΩñ▐ñ╣: byte, boolean, 
  113.     integer, string ñ╟ñ╣íú</p>
  114.     <dl>
  115.     <dt><strong>Byte</strong></dt><dd>Ñ╨ÑñÑ╚░∞ñ─ñ╟ñ╣íú</dd>
  116.     <dt><strong>Boolean</strong></dt>
  117.       <dd>Ñ╨ÑñÑ╚░∞ñ─ñ╟íó<code>1 = true</code>, <code>0 = false</code> ñ╟ñ╣íú
  118.       (C ñ╬ñΦñªñ╦) ╚≤╬φñ≥┐┐ñ╚ñ╖ñ╞░╖ñ├ñ╞ñ╖ñ▐ñªñ╚íóñóñδ╛∞╣τñ╧╞░ñ»ñ½ñΓñ╖ñ∞ñ▐ñ╗ñ≤ñ╖íó
  119.       ╞░ñ½ñ╩ñññ½ñΓñ╖ñ∞ñ▐ñ╗ñ≤íú</dd>
  120.     <dt><strong>Integer</strong></dt>
  121.       <dd><code>0 ñ½ñΘ 2^16 (32768)</code> ñ╬╚╧░╧ñ╬┐⌠╗·íú╣Γ╝íñ╬ 2 Ñ╨ÑñÑ╚ñ¼
  122.       └Φñ╦│╩╟╝ñ╡ñ∞ñ▐ñ╣íú</dd>
  123.     <dt><strong>String</strong></dt>
  124.       <dd>▓─╩╤─╣ñ╬╩╕╗·╬≤ (2^16 ñ¼─╣ñ╡ñ╬╛σ╕┬) íú─╣ñ╡╛≡╩≤ñ╬Ñ╤Ñ▒Ñ├Ñ╚ 2 Ñ╨ÑñÑ╚ñ╬╕σñ╦
  125.       ╩╕╗·╬≤ (╜¬├╝╩╕╗· '\0' ñ≥┤▐ñα) ñ¼┬│ñ»╖┴╝░ñ╟Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣íú
  126.       Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ╞ñññδ─╣ñ╡╛≡╩≤ñ╧║╟╕σñ╬ '\0' ñ≥<strong>ѽѪÑ≤Ñ╚ñ╖ñ╩ññ</strong>
  127.       ñ│ñ╚ñ╦├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññí╜í╜ñ│ñ∞ñ╧ <code>strlen</code> ñ╚╞▒══ñ╟ñ╣íú
  128.       ñ│ñ∞ñΘñ╬╜¬├╝╩╕╗·ñ≥Ñ╣Ñ¡Ñ├Ñ╫ñ╣ñδñ┐ñßñ╦íóñóñ▐ñΩ░╒╠úñ╬╠╡ññÑñÑ≤Ñ»ÑΩÑßÑ≤Ñ╚╩╕
  129.       ñ≥ñ┐ñ»ñ╡ñ≤╜±ñ½ñ╩ñññ╚ñññ▒ñ╩ñññ╬ñ╧íó
  130.       Java ñ╬┬ªñ½ñΘ╕½ñδñ╚╛»ñ╖╩╢ñΘñ∩ñ╖ñ»┤╢ñ╕ñΘñ∞ñδñ½ñΓñ╖ñ∞ñ▐ñ╗ñ≤íú
  131.       ñ│ñªñ╩ñ├ñ┐═²═│ñ╧ñ¬ñ╜ñΘñ»íóServlet Ñ│Ñ≤Ñ╞Ñ╩ñ½ñΘ╩╓ñ╡ñ∞ñδ╩╕╗·╬≤ñ≥╞╔ñ▀╜╨ñ╣╗■ñ╦íó
  132.       ╕·╬¿ñΦñ» C ñ╬Ñ│í╝Ñ╔ñ≥╜±ñ▒ñδñΦñªñ╦ñ╣ñδí╜í╜Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚ñ½ñΘ╩╓ñ╡ñ∞ñδ
  133.       ╩╕╗·╬≤ñ╧ \0 ╩╕╗·ñ╟╜¬├╝ñ╡ñ∞ñ╞ñññδñ╬ñ╟íóC ñ╬Ñ│í╝Ñ╔ñ╟ñ╧ñ∩ñ╢ñ∩ñ╢Ñ│Ñ╘í╝ñ≥ñ╗ñ║ñ╦íó
  134.       ░∞ñ─ñ╬Ñ╨Ñ├Ñ╒Ñíñ╪ñ╬ÑΩÑ╒ÑíÑ∞Ñ≤Ñ╣ñ≥╝ΦñΩ▓≤ñ╣ñΦñªñ╦╜±ñ»ñ│ñ╚ñ¼ñ╟ñ¡ñδí╜í╜
  135.       ñ┐ñßñ└ñ╚╗╫ñ∩ñ∞ñ▐ñ╣íú
  136.       '\0' ╩╕╗·ñ¼ñ╩ññ╛∞╣τñ╧íóC ñ╟ñ╧╩╕╗·╬≤ñ╬╡¼┬ºñ╦╣τñªñΦñªñ╦Ñ│Ñ╘í╝ñ╖ñ╩ñ▒ñ∞ñ╨
  137.       ñññ▒ñ╩ñ»ñ╩ñ├ñ╞ñ╖ñ▐ñññ▐ñ╣íú</dd>
  138.     </dl>
  139.  
  140.   <h3>Ñ╤Ñ▒Ñ├Ñ╚Ñ╡ÑñÑ║</h3>
  141.     <p>┬┐ñ»ñ╬Ñ│í╝Ñ╔ñ╟ñ╜ñªñ╩ñ├ñ╞ñññδñ╬ñ╟ñ╣ñ¼íóÑ╤Ñ▒Ñ├Ñ╚Ñ╡ÑñÑ║ñ╬║╟┬τÑ╡ÑñÑ║ñ╧
  142.     <code>8 * 1024 (8K)</code> ñ╟ñ╣íúÑ╤Ñ▒Ñ├Ñ╚ñ╬╝┬║▌ñ╬─╣ñ╡ñ╧Ñ╪Ñ├Ñ└ñ╦
  143.     Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ╞╞■ñ├ñ╞ñññ▐ñ╣íú</p>
  144.   
  145.   <h3>Ñ╤Ñ▒Ñ├Ñ╚Ñ╪Ñ├Ñ└</h3>
  146.     <p>Ñ╡í╝Ñ╨ñ½ñΘÑ│Ñ≤Ñ╞Ñ╩ñ╦┴≈╜╨ñ╡ñ∞ñδÑ╤Ñ▒Ñ├Ñ╚ñ╧ <code>0x1234</code> ñ╟╗╧ñ▐ñΩñ▐ñ╣íú
  147.     Ñ│Ñ≤Ñ╞Ñ╩ñ½ñΘÑ╡í╝Ñ╨ñ╦┴≈ñΘñ∞ñδÑ╤Ñ▒Ñ├Ñ╚ñ╧ <code>AB</code> (ASCII Ñ│í╝Ñ╔ A ñ╚
  148.     ASCII Ñ│í╝Ñ╔ B) ñ╟╗╧ñ▐ñΩñ▐ñ╣íúñ│ñ╬╞≤Ñ╨ÑñÑ╚ñ╬╕σñ╦íóÑ┌ÑñÑφí╝Ñ╔─╣ñ¼ (╛σ╡¡ñ╬╖┴╝░ñ╟) 
  149.     ┬│ñ¡ñ▐ñ╣íúñ│ñ╬ñ┐ñßíóÑ┌ÑñÑφí╝Ñ╔─╣ñ╬║╟┬τ├═ñ╧ 2^16 ñ╦ñ╟ñ¡ñδñΦñªñ╦╗╫ñ¿ñ▐ñ╣ñ¼íó
  150.     ╝┬║▌ñ╦ñ╧Ñ│í╝Ñ╔ñ╟ñ╧║╟┬τ├═ñ╧ 8K ñ╦└▀─Ωñ╡ñ∞ñ╞ñññ▐ñ╣íú</p>
  151.     <table>
  152.       <tr>
  153.         <td colspan="6"><em>Ñ╤Ñ▒Ñ├Ñ╚╖┴╝░ (Server->Container)</em></td>
  154.       </tr>
  155.       <tr>
  156.         <td>Byte</td>
  157.         <td>0</td>
  158.         <td>1</td>
  159.         <td>2</td>
  160.         <td>3</td>
  161.         <td>4...(n+3)</td>
  162.       </tr>
  163.       <tr>
  164.         <td>Contents</td>
  165.         <td>0x12</td>
  166.         <td>0x34</td>
  167.         <td colspan="2">Ñ╟í╝Ñ┐─╣ (n)</td>
  168.         <td>Data</td>
  169.       </tr>
  170.     </table>
  171.     <table>
  172.       <tr>
  173.         <td colspan="6"><em>Ñ╤Ñ▒Ñ├Ñ╚╖┴╝░ (Container->Server)</em></td>
  174.       </tr>
  175.       <tr>
  176.         <td>Byte</td>
  177.         <td>0</td>
  178.         <td>1</td>
  179.         <td>2</td>
  180.         <td>3</td>
  181.         <td>4...(n+3)</td>
  182.       </tr>
  183.       <tr>
  184.         <td>Contents</td>
  185.         <td>A</td>
  186.         <td>B</td>
  187.         <td colspan="2">Ñ╟í╝Ñ┐─╣ (n)</td>
  188.         <td>Data</td>
  189.       </tr>
  190.     </table>
  191.     <p>ñ█ñ╚ñ≤ñ╔ñ╬Ñ╤Ñ▒Ñ├Ñ╚ñ╟íóÑ┌ÑñÑφí╝Ñ╔ñ╬║╟╜Θñ╬Ñ╨ÑñÑ╚ñ¼ÑßÑ├Ñ╗í╝Ñ╕ñ╬╖┐ñ≥Ñ¿Ñ≤Ñ│í╝Ñ╔
  192.      ñ╖ñ╞ñññ▐ñ╣íú╬π│░ñ╧Ñ╡í╝Ñ╨ñ½ñΘÑ│Ñ≤Ñ╞Ñ╩ñ╦┴≈ñΘñ∞ñδÑΩѻѿÑ╣Ñ╚Ñ▄Ñ╟ÑúÑ╤Ñ▒Ñ├Ñ╚ñ╟ñ╣
  193.      í╜í╜ñ│ñ∞ñΘñ╧╔╕╜α┼¬ñ╩Ñ╤Ñ▒Ñ├Ñ╚╖┴╝░ (<code>0x1234</code> ñ╚Ñ╤Ñ▒Ñ├Ñ╚─╣)
  194.      ñ╟ñ╣ñ¼íóñ╜ñ╬╕σñ╦┬│ñ»Ñ╫Ñ∞Ñ╒ÑúÑ├Ñ»Ñ╣Ñ│í╝Ñ╔ñ¼ñóñΩñ▐ñ╗ñ≤íú</p>
  195.      <p>ѪѺÑ╓Ñ╡í╝Ñ╨ñ╧╝íñ╬ÑßÑ├Ñ╗í╝Ñ╕ñ≥Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╦┴≈╜╨ñ╟ñ¡ñ▐ñ╣íú</p>
  196.     <table>
  197.       <tr>
  198.         <td>Ñ│í╝Ñ╔</td>
  199.         <td>Ñ╤Ñ▒Ñ├Ñ╚ñ╬╖┐</td>
  200.         <td>░╒╠ú</td>
  201.       </tr>
  202.       <tr>
  203.         <td>2</td>
  204.         <td>Forward Request</td>
  205.         <td>ÑΩѻѿÑ╣Ñ╚╜Φ═²Ñ╡ÑñÑ»Ñδñ≥╕σ┬│ñ╬Ñ╟í╝Ñ┐ñ╚ñ╚ñΓñ╦│½╗╧ñ╣ñδíú</td>
  206.       </tr>
  207.       <tr>
  208.         <td>7</td>
  209.         <td>Shutdown</td>
  210.         <td>ѪѺÑ╓Ñ╡í╝Ñ╨ñ¼Ñ│Ñ≤Ñ╞Ñ╩ñ╦íóÑ│Ñ≤Ñ╞Ñ╩ñ≥╜¬╬╗ñ╣ñδñΦñªñ╦┼┴ñ¿ñδíú</td>
  211.       </tr>
  212.       <tr>
  213.         <td>8</td>
  214.         <td>Ping</td>
  215.         <td>ѪѺÑ╓Ñ╡í╝Ñ╨ñ¼Ñ│Ñ≤Ñ╞Ñ╩ñ╦└⌐╕µñ≥╝⌡ñ▒╗²ñ─ñΦñªñ╦┼┴ñ¿ñδ 
  216.         (Ñ╗Ñ¡ÑσÑóÑφÑ░ÑñÑ≤Ñ╒Ѻí╝Ñ║) íú</td>
  217.       </tr>
  218.       <tr>
  219.         <td>10</td>
  220.         <td>CPing</td>
  221.         <td>ѪѺÑ╓Ñ╡í╝Ñ╨ñ¼Ñ│Ñ≤Ñ╞Ñ╩ñ╦ CPong ñ╟┬¿║┬ñ╦▒■┼·ñ╣ñδñΦñªñ╦┼┴ñ¿ñδíú</td>
  222.       </tr>
  223.       <tr>
  224.         <td>none</td>
  225.         <td>Data</td>
  226.         <td>Ñ╡ÑñÑ║ (2 Ñ╨ÑñÑ╚) ñ╚ñ╜ñ∞ñ╦┬│ñ»Ñ▄Ñ╟ÑúÑ╟í╝Ñ┐íú</td>
  227.       </tr>
  228.     </table>
  229.     <p>┤≡╦▄┼¬ñ╩Ñ╗Ñ¡ÑσÑΩÑ╞Ñúñ≥│╬╩▌ñ╣ñδñ┐ñßíóÑ█Ñ╣Ñ╚ñ╡ñ∞ñ╞ñññδÑ▐Ñ╖Ñ≤ñ╚╞▒░∞ñ╬
  230.     Ñ▐Ñ╖Ñ≤ñ½ñΘñ╬ÑΩѻѿÑ╣Ñ╚ñ╦┬╨ñ╖ñ╞ñ╬ñ▀íóÑ│Ñ≤Ñ╞Ñ╩ñ╧╝┬║▌ñ╦ <code>Shutdown</code>
  231.     ñ≥╝┬╣╘ñ╖ñ▐ñ╣íú</p>
  232.     <p>║╟╜Θñ╬ <code>Data</code> Ñ╤Ñ▒Ñ├Ñ╚ñ╧íó<code>Forward Request</code> 
  233.     ñ╬─╛╕σñ╦ѪѺÑ╓Ñ╡í╝Ñ╨ñ½ñΘ┴≈ñΘñ∞ñ▐ñ╣íú</p>
  234.     <p>Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ╧ѪѺÑ╓Ñ╡í╝Ñ╨ñ╦íó╝íñ╬Ñ┐ÑñÑ╫ñ╬ÑßÑ├Ñ╗í╝Ñ╕ñ≥┴≈ñδñ│ñ╚ñ¼
  235.     ñ╟ñ¡ñ▐ñ╣ :</p>
  236.     <table>
  237.       <tr>
  238.         <td>Ñ│í╝Ñ╔</td>
  239.         <td>Ñ╤Ñ▒Ñ├Ñ╚ñ╬╖┐</td>
  240.         <td>░╒╠ú</td>
  241.       </tr>
  242.       <tr>
  243.         <td>3</td>
  244.         <td>Send Body Chunk</td>
  245.         <td>Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ½ñΘѪѺÑ╓Ñ╡í╝Ñ╨ñ╦
  246.         (ñ╜ñ╖ñ╞ñ¬ñ╜ñΘñ»ñ╜ñ╬ñ▐ñ▐Ñ╓ÑΘѪÑ╢ñ╦)íóÑ▄Ñ╟Ñúñ╬Ñ┴ÑπÑ≤Ñ»ñ≥┴≈ñδíú</td>
  247.       </tr>
  248.       <tr>
  249.         <td>4</td>
  250.         <td>Send Headers</td>
  251.         <td>Ñ╡í╝Ñ╓Ñ∞Ñ├Ñ╚Ñ│Ñ≤Ñ╞Ñ╩ñ½ñΘѪѺÑ╓Ñ╡í╝Ñ╨ñ╦ (ñ╜ñ╖ñ╞ñ¬ñ╜ñΘñ»ñ╜ñ╬ñ▐ñ▐Ñ╓ÑΘѪÑ╢ñ╦)
  252.         Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣Ñ╪Ñ├Ñ└ñ≥┴≈ñδíú</td>
  253.       </tr>
  254.       <tr>
  255.         <td>5</td>
  256.         <td>End Response</td>
  257.         <td>Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣ (ñ─ñ▐ñΩÑΩѻѿÑ╣Ñ╚╜Φ═²Ñ╡ÑñÑ»Ñδ) ╜¬╬╗ñ╬╠▄░⌡ñ≥┴≈ñδíú
  258.         </td>
  259.       </tr>
  260.       <tr>
  261.         <td>6</td>
  262.         <td>Get Body Chunk</td>
  263.         <td>ñ▐ñ└┴┤ñ╞┼╛┴≈ñ╡ñ∞ñ╞ñññ╩ññ╛∞╣τíó╗─ñ├ñ╞ñññδÑΩѻѿÑ╣Ñ╚ñ╬Ñ╟í╝Ñ┐ñ≥╝⌡ñ▒╝Φñδíú
  264.         </td>
  265.       </tr>
  266.       <tr>
  267.         <td>9</td>
  268.         <td>CPong ▒■┼·</td>
  269.         <td>CPing ÑΩѻѿÑ╣Ñ╚ñ╦▒■┼·ñ╣ñδíú</td>
  270.       </tr>
  271.     </table>
  272.     <p>╛σ╡¡ÑßÑ├Ñ╗í╝Ñ╕ñ╧íóñ╜ñ∞ñ╛ñ∞╞Γ╔⌠╣╜┬ññ¼░█ñ╩ñ├ñ╞ñññ▐ñ╣íú╛▄║┘ñ╧▓╝╡¡ñ≥ñ┤═≈ñ»ñ└ñ╡ññíú
  273.     </p>
  274.   
  275. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  276. <div class="section">
  277. <h2><a name="rpacetstruct" id="rpacetstruct">ÑΩѻѿÑ╣Ñ╚Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></h2>
  278.     <p>Ñ╡í╝Ñ╨ñ½ñΘÑ│Ñ≤Ñ╞Ñ╩ñ╪┴≈ñΘñ∞ñδÑßÑ├Ñ╗í╝Ñ╕ñ¼
  279.     <em>Forward Request</em> ╖┐ñ╬╛∞╣τ :</p>
  280.     <div class="example"><pre>
  281. AJP13_FORWARD_REQUEST :=
  282.     prefix_code      (byte) 0x02 = JK_AJP13_FORWARD_REQUEST
  283.     method           (byte)
  284.     protocol         (string)
  285.     req_uri          (string)
  286.     remote_addr      (string)
  287.     remote_host      (string)
  288.     server_name      (string)
  289.     server_port      (integer)
  290.     is_ssl           (boolean)
  291.     num_headers      (integer)
  292.     request_headers *(req_header_name req_header_value)
  293.     attributes      *(attribut_name attribute_value)
  294.     request_terminator (byte) OxFF
  295.     </pre></div>
  296.     <p><code>request_headers</code> ñ╧╝íñ╬ñΦñªñ╩╣╜┬ññ╦ñ╩ñ├ñ╞ñññ▐ñ╣ :
  297.     </p><div class="example"><pre>
  298. req_header_name := 
  299.     sc_req_header_name | (string)  [see below for how this is parsed]
  300.  
  301. sc_req_header_name := 0xA0xx (integer)
  302.  
  303. req_header_value := (string)
  304. </pre></div>
  305.     <p><code>┬░└¡</code> ñ╧ѬÑ╫Ñ╖ÑτÑ≤ñ╟íó╝íñ╬ñΦñªñ╩╣╜┬ññ≥ñ╖ñ╞ñññ▐ñ╣ :</p>
  306.     <div class="example"><pre>
  307. attribute_name := sc_a_name | (sc_a_req_attribute string)
  308.  
  309. attribute_value := (string)
  310.  
  311.     </pre></div>
  312.     <p>ñΓñ├ñ╚ñΓ╜┼═╫ñ╩Ñ╪Ñ├Ñ└ñ╧ <code>content-length</code> ñ└ñ╚ñññªñ│ñ╚ñ╦
  313.     ├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíúÑ│Ñ≤Ñ╞Ñ╩ñ╧╝íñ╬Ñ╤Ñ▒Ñ├Ñ╚ñ≥├╡ñ╣ñ½ñ╔ñªñ½ñ≥íó
  314.     ñ╜ñ∞ñ≥╕½ñ╞╖Φñßñδñ½ñΘñ╟ñ╣íú</p>
  315.   <h3>Forward Request ═╫┴╟ñ╬╛▄║┘ñ╩└Γ╠└
  316.   </h3>
  317.   <h3>Request prefix</h3>
  318.     <p>ÑΩѻѿÑ╣Ñ╚ñ╦ñ─ñññ╞ñ╧┴┤ñ╞íóñ│ñ╬├═ñ╧ 2 ñ╦ñ╩ñΩñ▐ñ╣íú┬╛ñ╬ Prefix Ñ│í╝Ñ╔ñ╬╛▄║┘ñ╧
  319.     ╛σ╡¡ñ≥ñ┤═≈ñ»ñ└ñ╡ññíú</p>
  320.   
  321.   <h3>Method</h3>
  322.     <p>HTTP ÑßÑ╜Ñ├Ñ╔ñ╧ 1 Ñ╨ÑñÑ╚ñ╦Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣ :</p>
  323.     <table>
  324.       <tr><td>Command Name</td><td>Code</td></tr>
  325.       <tr><td>OPTIONS</td><td>1</td></tr>
  326.       <tr><td>GET</td><td>2</td></tr>
  327.       <tr><td>HEAD</td><td>3</td></tr>
  328.       <tr><td>POST</td><td>4</td></tr>
  329.       <tr><td>PUT</td><td>5</td></tr>
  330.       <tr><td>DELETE</td><td>6</td></tr>
  331.       <tr><td>TRACE</td><td>7</td></tr>
  332.       <tr><td>PROPFIND</td><td>8</td></tr>
  333.       <tr><td>PROPPATCH</td><td>9</td></tr>
  334.       <tr><td>MKCOL</td><td>10</td></tr>
  335.       <tr><td>COPY</td><td>11</td></tr>
  336.       <tr><td>MOVE</td><td>12</td></tr>
  337.       <tr><td>LOCK</td><td>13</td></tr>
  338.       <tr><td>UNLOCK</td><td>14</td></tr>
  339.       <tr><td>ACL</td><td>15</td></tr>
  340.       <tr><td>REPORT</td><td>16</td></tr>
  341.       <tr><td>VERSION-CONTROL</td><td>17</td></tr>
  342.       <tr><td>CHECKIN</td><td>18</td></tr>
  343.       <tr><td>CHECKOUT</td><td>19</td></tr>
  344.       <tr><td>UNCHECKOUT</td><td>20</td></tr>
  345.       <tr><td>SEARCH</td><td>21</td></tr>
  346.       <tr><td>MKWORKSPACE</td><td>22</td></tr>
  347.       <tr><td>UPDATE</td><td>23</td></tr>
  348.       <tr><td>LABEL</td><td>24</td></tr>
  349.       <tr><td>MERGE</td><td>25</td></tr>
  350.       <tr><td>BASELINE_CONTROL</td><td>26</td></tr>
  351.       <tr><td>MKACTIVITY</td><td>27</td></tr>
  352.     </table>
  353.     <p>║ú╕σñ╬ ajp13 Ñ╨í╝Ñ╕ÑτÑ≤ñ╟ñ╧íóñ│ñ╬░∞═≈ñ╦ñ╩ññíó║ú╕σ─╔▓├ñ╡ñ∞ñδÑßÑ╜Ñ├Ñ╔ñ≥
  354.     ┴≈ñδñ½ñΓñ╖ñ∞ñ▐ñ╗ñ≤íú</p>
  355.   
  356.   <h3>protocol, req_uri, remote_addr, remote_host, server_name,
  357.   server_port, is_ssl</h3>
  358.     <p>ñ│ñ∞ñΘñ╧ñ▐ñ╡ñ╦╩╕╗·─╠ñΩñ╬ñΓñ╬ñ╟ñ╣íúñ╔ñ∞ñΓ╔¼═╫ñ╟íóÑΩѻѿÑ╣Ñ╚ñ╬╦Φ▓≤ñ╦ñ─ñ¡
  359.     ┴≈ñΘñ∞ñ▐ñ╣íú</p>
  360.   
  361.   <h3>Headers</h3>
  362.     <p><code>request_headers</code> ñ╬╣╜┬ññ╧╝íñ╬ñΦñªñ╩ñΓñ╬ñ╟ñ╣ :
  363.     ñ▐ñ║Ñ╪Ñ├Ñ└ñ╬┐⌠ <code>num_headers</code> ñ¼Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣íú
  364.     ╝íñ╦Ñ╪Ñ├Ñ└╠╛ <code>req_header_name</code> / ├═ <code>req_header_value</code>
  365.     ñ╬┴╚ñ¼┬│ñ¡ñ▐ñ╣íú╕·╬¿ñ╬ñ┐ñßíó░∞╚╠┼¬ñ╩Ñ╪Ñ├Ñ└ñ╧└░┐⌠ñ╟Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╖ñ╞┼╛┴≈ñ╖ñ▐ñ╣íú
  366.     Ñ╪Ñ├Ñ└╠╛ñ¼┤≡╦▄Ñ╪Ñ├Ñ└ñ╬░∞═≈ñ╦╠╡ññ╛∞╣τñ╧íó─╠╛∩─╠ñΩ (╩╕╗·╬≤ñ╚ñ╖ñ╞íó─╣ñ╡
  367.     Ñ╫Ñ∞Ñ╒ÑúÑ├Ñ»Ñ╣╔╒ñ¡ñ╟) ┼╛┴≈ñ╡ñ∞ñ▐ñ╣íú░∞╚╠┼¬ñ╩Ñ╪Ñ├Ñ└ 
  368.     <code>sc_req_header_name</code> ñ╬░∞═≈ñ╚ñ╜ñ╬Ñ│í╝Ñ╔ñ╧╝íñ╬─╠ñΩñ╟ñ╣ 
  369.     (ñ╔ñ∞ñΓ┬τ╩╕╗·╛«╩╕╗·ñ≥╢Φ╩╠ñ╖ñ▐ñ╣) :</p>
  370.     <table>
  371.       <tr><td>╠╛┴░</td><td>Ñ│í╝Ñ╔ñ╬├═</td><td>Ñ│í╝Ñ╔╠╛</td></tr>
  372.       <tr><td>accept</td><td>0xA001</td><td>SC_REQ_ACCEPT</td></tr>
  373.       <tr><td>accept-charset</td><td>0xA002</td><td>SC_REQ_ACCEPT_CHARSET
  374.       </td></tr>
  375.       <tr><td>accept-encoding</td><td>0xA003</td><td>SC_REQ_ACCEPT_ENCODING
  376.       </td></tr>
  377.       <tr><td>accept-language</td><td>0xA004</td><td>SC_REQ_ACCEPT_LANGUAGE
  378.       </td></tr>
  379.       <tr><td>authorization</td><td>0xA005</td><td>SC_REQ_AUTHORIZATION</td>
  380.       </tr>
  381.       <tr><td>connection</td><td>0xA006</td><td>SC_REQ_CONNECTION</td></tr>
  382.       <tr><td>content-type</td><td>0xA007</td><td>SC_REQ_CONTENT_TYPE</td>
  383.       </tr>
  384.       <tr><td>content-length</td><td>0xA008</td><td>SC_REQ_CONTENT_LENGTH</td>
  385.       </tr>
  386.       <tr><td>cookie</td><td>0xA009</td><td>SC_REQ_COOKIE</td></tr>
  387.       <tr><td>cookie2</td><td>0xA00A</td><td>SC_REQ_COOKIE2</td></tr>
  388.       <tr><td>host</td><td>0xA00B</td><td>SC_REQ_HOST</td></tr>
  389.       <tr><td>pragma</td><td>0xA00C</td><td>SC_REQ_PRAGMA</td></tr>
  390.       <tr><td>referer</td><td>0xA00D</td><td>SC_REQ_REFERER</td></tr>
  391.       <tr><td>user-agent</td><td>0xA00E</td><td>SC_REQ_USER_AGENT</td></tr>
  392.     </table>
  393.     <p>ñ│ñ∞ñ≥╞╔ñ▀╣■ñα Java ñ╬Ñ│í╝Ñ╔ñ╟ñ╧íó║╟╜Θñ╬ 2 Ñ╨ÑñÑ╚└░┐⌠ñ≥╝ΦñΩ╣■ñ▀íó
  394.     ╠▄░⌡ñ╦ñ╩ñδÑ╨ÑñÑ╚ <code>'0xA0'</code> ñ╟ñóñ∞ñ╨íóÑ╪Ñ├Ñ└╠╛ñ╬╟█╬≤ñ╬
  395.     ÑñÑ≤Ñ╟Ñ├Ñ»Ñ╣ñ≥╗╚ñññ▐ñ╣íú└Φ╞¼Ñ╨ÑñÑ╚ñ¼ <code>0xA0</code> ñ╟ñ╩ññ╛∞╣τñ╧íó
  396.     └Φ╞¼ 2 Ñ╨ÑñÑ╚ñ╧╩╕╗·╬≤─╣ñ≥╔╜ñ╣└░┐⌠ñ╟ñóñδñ╚▓≥╝ßñ╖íó╞╔ñ▀╣■ñ▀ñ╧ñ╕ñßñ▐ñ╣íú</p>
  397.     <p>Ñ╪Ñ├Ñ└╠╛ñ╬─╣ñ╡ñ╧ <code>0x9999 (==0xA000 -1)</code> ░╩╛σñ╦ñ╩ñΘñ╩ñññ╚ñññª
  398.     ▓╛─Ωñ╬▓╝ñ╦╞░ñññ╞ñññ╞íó╛»ñ╖ñóñññ▐ñññ╟ñ╣ñ¼╣τ═²┼¬ñ╩╡≤╞░ñ╦ñ╩ñ├ñ╞ñññ▐ñ╣íú</p>
  399.     <div class="note"><h3>├φ:</h3>
  400.     <code>content-length</code> Ñ╪Ñ├Ñ└ñ╧ñ╚ñ╞ñΓ╜┼═╫ñ╟ñ╣íú
  401.     ┬╕║▀ñ╖ñ╞ñññ╞╚≤Ñ╝Ñφñ╟ñóñ∞ñ╨íóÑΩѻѿÑ╣Ñ╚ñ╦ñ╧Ñ▄Ñ╟Ñúñ¼ñóñδ (╬πñ¿ñ╨ POST 
  402.     ÑΩѻѿÑ╣Ñ╚) ñ╚┐Σ┬¼ñ╖íóñ╜ñ╬Ñ▄Ñ╟Ñúñ≥╝ΦñΩ╣■ñαñ┐ñßñ╦
  403.     ─╛╕σñ╬Ñ╤Ñ▒Ñ├Ñ╚ñ≥╞■╬╧Ñ╣Ñ╚ÑΩí╝Ñαñ½ñΘ╞╔ñ▀╣■ñ▀ñ╧ñ╕ñßñ▐ñ╣íú
  404.     </div>
  405.   
  406.   <h3>┬░└¡</h3>
  407.     <p><code>?</code> Ñ╫Ñ∞Ñ╒ÑúÑ├Ñ»Ñ╣ñ╟╗╧ñ▐ñδ┬░└¡ (╬π <code>?context</code>)
  408.     ñ╧íú╛╩╬¼▓─╟╜ñ╟ñ╣íúñ╜ñ∞ñ╛ñ∞┬░└¡ñ╬╖┐ñ≥╝¿ñ╣ 1 Ñ╨ÑñÑ╚ñ╬Ñ│í╝Ñ╔ñ╚íó
  409.     ├═ñ╬╩╕╗·╬≤ñ¼┬│ñ¡ñ▐ñ╣íú
  410.     ñ│ñ∞ñΘñ╧╜τ╔╘╞▒ñ╟┴≈ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣ (C ñ╬Ñ│í╝Ñ╔ñ╧╛∩ñ╦▓╝ñ╬░∞═≈╜τñ╦
  411.     ┴≈ñδñΦñªñ╟ñ╣ñ¼) íú
  412.     Ñ¬Ñ╫Ñ╖ÑτÑ≤ñ╬┬░└¡ñ╬ÑΩÑ╣Ñ╚ñ╬║╟╕σñ╦ñ╧íó╞├╩╠ñ╩╜¬╬╗Ñ│í╝Ñ╔ñ¼┴≈ñΘñ∞ñ▐ñ╣íú
  413.     Ñ│í╝Ñ╔ñ╬░∞═≈ñ╧ : </p>
  414.     <table>
  415.       <tr><td>Information</td><td>Code Value</td><td>Note</td></tr>
  416.       <tr><td>?context</td><td>0x01</td><td>╠ñ╝┬┴⌡
  417.       </td></tr>
  418.       <tr><td>?servlet_path</td><td>0x02</td><td>╠ñ╝┬┴⌡
  419.       </td></tr>
  420.       <tr><td>?remote_user</td><td>0x03</td><td /></tr>
  421.       <tr><td>?auth_type</td><td>0x04</td><td /></tr>
  422.       <tr><td>?query_string</td><td>0x05</td><td /></tr>
  423.       <tr><td>?jvm_route</td><td>0x06</td><td /></tr>
  424.       <tr><td>?ssl_cert</td><td>0x07</td><td /></tr>
  425.       <tr><td>?ssl_cipher</td><td>0x08</td><td /></tr>
  426.       <tr><td>?ssl_session</td><td>0x09</td><td /></tr>
  427.       <tr><td>?req_attribute</td><td>0x0A</td><td>Name (the name of the
  428.       attribute follows)</td></tr>
  429.       <tr><td>?ssl_key_size</td><td>0x0B</td><td /></tr>
  430.       <tr><td>are_done</td><td>0xFF</td><td>request_terminator</td></tr>
  431.     </table>
  432.     <p><code>context</code> ñ╚ <code>servlet_path</code> ñ╧╕╜║▀ñ╬ C ñ╬
  433.     Ñ│í╝Ñ╔ñ╟ñ╧Ñ╗Ñ├Ñ╚ñ╡ñ∞ñ╞ñññ▐ñ╗ñ≤íúñ▐ñ┐íóñ█ñ╚ñ≤ñ╔ñ╬ Java ñ╬Ñ│í╝Ñ╔ñ╟ñΓíó
  434.     ñ│ñ╬Ñ╒Ñúí╝ÑδÑ╔ñ╟▓┐ñ¼┴≈ñΘñ∞ñ╞ñΓ╠╡╗δñ╡ñ∞ñ▐ñ╣ (ñ│ñ∞ñΘñ╬Ñ│í╝Ñ╔ñ╬╕σñ╦╩╕╗·╬≤ñ¼
  435.     ┴≈ñΘñ∞ñδñ╚▓⌡ñ∞ñδñΓñ╬ñΓñóñΩñ▐ñ╣)íú
  436.     ñ│ñ∞ñ¼Ñ╨Ñ░ñ╩ñ╬ñ½íó├▒ñ╦╠ñ╝┬┴⌡ñ╩ñ╬ñ½íó╬≥╗╦┼¬╖╨░▐ñ╟╗─ñ├ñ╞ñññδÑ│í╝Ñ╔ñ╩ñ╬ñ½
  437.     ╩¼ñ½ñΩñ▐ñ╗ñ≤ñ¼íóÑ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╬╬╛┬ªñ╚ñΓñ╟╕½┼÷ñ┐ñΩñ▐ñ╗ñ≤íú</p>
  438.     <p><code>remote_user</code> ñ╚ <code>auth_type</code> ñ╧ñ¬ñ╜ñΘñ»
  439.     HTTP Ñ∞Ñ┘Ñδñ╬╟º╛┌ñ≥╗▓╛╚ñ╖ñ╞ñññ╞íóÑΩÑΓí╝Ñ╚ѵí╝Ñ╢ñ╬ѵí╝Ñ╢╠╛ñ╚╟º╛┌ñ╦╗╚═╤ñ╖ñ┐
  440.     Ñ┐ÑñÑ╫ (╬π Basic, Digest) ñ╦ñ─ñññ╞ñΣñΩ╝ΦñΩñ╖ñ▐ñ╣íú</p>
  441.     <p><code>query_string</code>, <code>ssl_cert</code>, 
  442.     <code>ssl_cipher</code>, <code>ssl_session</code> 
  443.     ñ╧ HTTP ñ╚ HTTPS ñ╬┬╨▒■ñ╣ñδ╔⌠╩¼ñ≥╗▓╛╚ñ╖ñ▐ñ╣íú</p>
  444.     <p><code>jvm_route</code> ñ╧Ñ╣Ñ╞ÑúÑ├Ñ¡í╝Ñ╗Ñ├Ñ╖ÑτÑ≤ñ╬Ñ╡Ñ▌í╝Ñ╚í╜í╜
  445.     Ñφí╝Ñ╔Ñ╨ÑΘÑ≤Ñ╣ñ╖ñ╞ñññδ╩ú┐⌠ñ╬Ñ╡í╝Ñ╨├µñ╬╞├─Ωñ╬ Tomcat ÑñÑ≤Ñ╣Ñ┐Ñ≤Ñ╣ñ╚íó
  446.     Ñµí╝Ñ╢ñ╬Ñ╗Ñ├Ñ╖ÑτÑ≤ñ╚ñ≥╔│╔╒ñ▒ñδ╡í╟╜í╜í╜ñ╦╗╚ñ∩ñ∞ñ▐ñ╣íú</p>
  447.     <p>ñ│ñ╬┤≡╦▄┬░└¡░∞═≈ñ╦╠╡ñññΓñ╬ñ╦ñ─ñññ╞ñ╧íó<code>req_attribute</code>
  448.     Ñ│í╝Ñ╔ <code>0x0A</code> ╖╨═│ñ╟┬░└¡ñ≥▓┐╕─ñ╟ñΓ┴≈ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú
  449.     ┬░└¡ñ╬╠╛┴░ñ╚├═ñ╬╩╕╗·╬≤ñ╬┴╚ñ≥íóñ╜ñ∞ñ╛ñ∞ñ│ñ╬Ñ│í╝Ñ╔ñ╬─╛╕σñ╦┴≈ñΩñ▐ñ╣íú
  450.     ┤─╢¡╩╤┐⌠ñ╧ñ│ñ╬╩²╦íñ╟┼┴ñ¿ñΘñ∞ñ▐ñ╣íú</p>
  451.     <p>║╟╕σñ╦┬░└¡ñ¼┴┤ñ╞┴≈┐«ñ╡ñ∞ñ┐╕σñ╦íó┬░└¡ñ╬╜¬├╝ñ≥╝¿ñ╣ <code>0xFF</code> 
  452.     ñ¼┴≈╜╨ñ╡ñ∞ñ▐ñ╣íúñ│ñ╬┐«╣µñ╧┬░└¡ñ╬░∞═≈ñ╬╜¬ñ∩ñΩñ≥╝¿ñ╣ñ╚╞▒╗■ñ╦íóÑΩѻѿÑ╣Ñ╚
  453.     Ñ╤Ñ▒Ñ├Ñ╚ñ╬╜¬├╝ñ≥ñΓ╝¿ñ╖ñ╞ñññ▐ñ╣íú</p>
  454.   
  455. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  456. <div class="section">
  457. <h2><a name="resppacketstruct" id="resppacketstruct">Ñ∞Ñ╣Ñ▌Ñ≤Ñ╣Ñ╤Ñ▒Ñ├Ñ╚╣╜┬ñ</a></h2>
  458.     <p>Ñ│Ñ≤Ñ╞Ñ╩ñ¼Ñ╡í╝Ñ╨ñ╦┴≈ñΩ╩╓ñ╣ñ│ñ╚ñ╬ñ╟ñ¡ñδÑßÑ├Ñ╗í╝Ñ╕:</p>
  459.     <div class="example"><pre>
  460. AJP13_SEND_BODY_CHUNK :=
  461.   prefix_code   3
  462.   chunk_length  (integer)
  463.   chunk        *(byte)
  464.  
  465.  
  466. AJP13_SEND_HEADERS :=
  467.   prefix_code       4
  468.   http_status_code  (integer)
  469.   http_status_msg   (string)
  470.   num_headers       (integer)
  471.   response_headers *(res_header_name header_value)
  472.  
  473. res_header_name :=
  474.     sc_res_header_name | (string)   [see below for how this is parsed]
  475.  
  476. sc_res_header_name := 0xA0 (byte)
  477.  
  478. header_value := (string)
  479.  
  480. AJP13_END_RESPONSE :=
  481.   prefix_code       5
  482.   reuse             (boolean)
  483.  
  484.  
  485. AJP13_GET_BODY_CHUNK :=
  486.   prefix_code       6
  487.   requested_length  (integer)
  488.     </pre></div>
  489.   <h3>╛▄║┘ :</h3>
  490.   <h3>Send Body Chunk</h3>
  491.     <p>Ñ┴ÑπÑ≤Ñ»ñ╧┤≡╦▄┼¬ñ╦ñ╧Ñ╨ÑñÑ╩ÑΩÑ╟í╝Ñ┐ñ╟íóÑ╓ÑΘѪÑ╢ñ╦─╛└▄┴≈ñΘñ∞ñ▐ñ╣íú</p>
  492.   
  493.   <h3>Send Headers</h3>
  494.     <p>Ñ╣Ñ╞í╝Ñ┐Ñ╣Ñ│í╝Ñ╔ñ╚ÑßÑ├Ñ╗í╝Ñ╕ñ¼─╠╛∩ñ╬ HTTP ñ╬─╠┐«ñ╦ñ╧ñóñΩñ▐ñ╣ (╬π 
  495.     <code>200</code> ñ╚ <code>OK</code>)íúÑ∞Ñ╣Ñ▌Ñ≤Ñ╣Ñ╪Ñ├Ñ└╠╛ñ╧íó
  496.     ÑΩѻѿÑ╣Ñ╚Ñ╪Ñ├Ñ└╠╛ñ╚╞▒══ñ╬╩²╦íñ╟Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣íú
  497.     Ñ│í╝Ñ╔ñ╚╩╕╗·╬≤ñ╬╚╜╩╠╩²╦íñ╬╛▄║┘ñ╦┤╪ñ╖ñ╞ñ╧íó╛σ╡¡ñ╬ header_encoding 
  498.     ñ≥╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú
  499.     ░∞╚╠┼¬ñ╩Ñ╪Ñ├Ñ└ñ╬Ñ│í╝Ñ╔ñ╧ :</p>
  500.     <table>
  501.       <tr><td>╠╛┴░</td><td>Ñ│í╝Ñ╔ñ╬├═</td></tr>
  502.       <tr><td>Content-Type</td><td>0xA001</td></tr>
  503.       <tr><td>Content-Language</td><td>0xA002</td></tr>
  504.       <tr><td>Content-Length</td><td>0xA003</td></tr>
  505.       <tr><td>Date</td><td>0xA004</td></tr>
  506.       <tr><td>Last-Modified</td><td>0xA005</td></tr>
  507.       <tr><td>Location</td><td>0xA006</td></tr>
  508.       <tr><td>Set-Cookie</td><td>0xA007</td></tr>
  509.       <tr><td>Set-Cookie2</td><td>0xA008</td></tr>
  510.       <tr><td>Servlet-Engine</td><td>0xA009</td></tr>
  511.       <tr><td>Status</td><td>0xA00A</td></tr>
  512.       <tr><td>WWW-Authenticate</td><td>0xA00B</td></tr>
  513.     </table>
  514.     <p>Ñ│í╝Ñ╔ñ½Ñ╪Ñ├Ñ└╩╕╗·╬≤ñ╬─╛╕σñ╦ñ╧íóÑ╪Ñ├Ñ└ñ╬├═ñ¼Ñ¿Ñ≤Ñ│í╝Ñ╔ñ╡ñ∞ñ▐ñ╣íú</p>
  515.   
  516.   <h3>End Response</h3>
  517.     <p>ÑΩѻѿÑ╣Ñ╚╜Φ═²Ñ╡ÑñÑ»Ñδñ╬╜¬╬╗ñ≥├╬ñΘñ╗ñ▐ñ╣íú<code>reuse</code> Ñ╒ÑΘÑ░ñ¼┐┐
  518.     <code>(==1)</code> ñ╬╛∞╣τíó╕╜║▀╗╚═╤ñ╖ñ╞ñññδ TCP Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ╧╝íñ╬┐╖ñ╖ññ
  519.     ÑΩѻѿÑ╣Ñ╚ñ╦╗╚ñ¿ñδñΦñªñ╦ñ╩ñΩñ▐ñ╣íú<code>reuse</code> ñ¼╡╢ (C ñ╬Ñ│í╝Ñ╔ñ╟ñ╧
  520.     1 ░╩│░ñ╬┴┤ñ╞) ñ╬╛∞╣τñ╧íóÑ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ≥╩─ñ╕ñδñ│ñ╚ñ╦ñ╩ñΩñ▐ñ╣íú</p>
  521.   
  522.   <h3>Get Body Chunk</h3>
  523.     <p>(Ñ▄Ñ╟Ñúñ╬Ñ╡ÑñÑ║ñ¼┬τñ¡ñ╣ñ«ñ╞║╟╜Θñ╬Ñ╤Ñ▒Ñ├Ñ╚ñ╦╝²ñ▐ñΘñ╩ññ╛∞╣τñΣíó
  524.     ÑΩѻѿÑ╣Ñ╚ñ¼Ñ┴ÑπÑ≤Ñ»┼╛┴≈ñ╡ñ∞ñ┐╛∞╣τñ╩ñ╔ñ╦ñ╧íó) Ñ│Ñ≤Ñ╞Ñ╩ñ╧ÑΩѻѿÑ╣Ñ╚ñ½ñΘñ╬
  525.     Ñ╟í╝Ñ┐╞╔ñ▀╣■ñ▀═╫╡ßñ≥ñ╖ñ▐ñ╣íúÑ╡í╝Ñ╨┬ªñ╧ñ╜ñ∞ñ╦┬╨ñ╖ñ╞íó║╟╛« 
  526.     <code>request_length</code> ║╟┬τ <code>(8186 (8 Kbytes - 6))</code> 
  527.     ñ╬╚╧░╧ñ╟íó╠ñ┼╛┴≈ñ╟╗─ñ├ñ╞ñññδÑΩѻѿÑ╣Ñ╚Ñ▄Ñ╟Ñúñ╬┬τñ¡ñ╡ñ╬Ñ╟í╝Ñ┐ñ≥
  528.     ┴≈ñΩ╩╓ñ╖ñ▐ñ╣íú<br />
  529.     Ñ▄Ñ╟Ñúñ╦ñ╜ñ∞░╩╛σÑ╟í╝Ñ┐ñ¼╗─ñ├ñ╞ñññ╩ññ╛∞╣τ (ñ─ñ▐ñΩÑ╡í╝Ñ╓Ñ∞Ñ├Ñ╚ñ¼
  530.     Ñ▄Ñ╟Ñúñ╬║╟╕σñ≥─╢ñ¿ñ╞╞╔ñ▀╣■ñΓñªñ╚ñ╖ñ┐╛∞╣τ) íóÑ╡í╝Ñ╨ñ╧
  531.     Ñ┌ÑñÑφí╝Ñ╔─╣ 0 ñ╬<em>╢⌡Ñ╤Ñ▒Ñ├Ñ╚</em><code>(0x12,0x34,0x00,0x00)</code>
  532.     ñ≥┴≈ñΩ╩╓ñ╖ñ▐ñ╣íú</p>
  533.   
  534. </div>
  535. </div>
  536. <div class="bottomlang">
  537. <p><span>Available Languages: </span><a href="../en/mod/mod_proxy_ajp.html" hreflang="en" rel="alternate" title="English"> en </a> |
  538. <a href="../ja/mod/mod_proxy_ajp.html" title="Japanese"> ja </a></p>
  539. </div><div id="footer">
  540. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  541. <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div>
  542. </body></html>